package org.helgoboss.user_notification_ref_impl

import scala.swing.Window
import org.osgi.framework.{Bundle, BundleContext, BundleActivator, ServiceReference}
import org.helgoboss.user_notification.{NotificationService, NotificationKind}
import org.helgoboss.osgi_additions.{OsgiProvider, OsgiLogging}

class NotificationServiceRefImpl extends NotificationService with OsgiProvider with OsgiLogging {

    provides[NotificationService]
    
    def notifyUser(
            kind: NotificationKind, 
            message: String, 
            dialogOwner: Option[Window] = None, 
            exception: Option[Throwable] = None,
            bundle: Option[Bundle] = None
        ) {
        
        log debug message
    }
}